package com.bawei.mdm2207alast.model

/**
 * 作者：赵亮
 * 时间：2024/12/16 16:47
 * 功能：数据类文件
 */

// 在线应用的数据类
data class AppsEntity(
    val `data`: List<Data>,
    val msg: String,
    val statusCode: Int,
    val totalNum: Int
) {
    data class Data(
        val appsList: List<Apps>,
        val title: String
    ) {
        data class Apps(
            val apkUrl: String,
            val appIcon: String,
            val appId: Int,
            val appImgs: String,
            val appIntroduction: String,
            val appName: String,
            val appSize: Double,
            val appType: Int,
            val appUserId: Int,
            val app_package: String,
            val netUrl: String,
            val operationFlag: Boolean,
            val trustFlag: Boolean,
            val updateStr: String,
            val updateTime: Int,
            val uploadTime: Int,
            val userName: String,
            val versionCode: String
        )
    }
}

// 查询文件列表数据类
data class FileEntity(
    val `data`: List<Data>,
    val msg: String,
    val statusCode: Int,
    val totalNum: Int
) {
    data class Data(
        val fileId: Int,
        val fileName: String,
        val filePath: String,
        val fileTime: Long,
        val fileUserId: Int,
        val fileVersion: Int
    )
}

// 删除文件数据类
data class DeleteFileEntity(
    val `data`: Any,
    val msg: String,
    val statusCode: Int,
    val totalNum: Int
)

// 上传文件的数据类
data class FileUploadEntity(
    val msg: String,
    val statusCode: String
)

// 查询工作汇报的数据类
data class SelReportEntity(
    val datas: List<Data>,
    val msg: String,
    val statusCode: String,
    val totalNum: Int
) {
    data class Data(
        val reportId: Int,
        val reportNextTitle: String,
        val reportNextValue: String,
        val reportNowTitle: String,
        val reportNowValue: String,
        val reportRemind: String,
        val reportTime: Long,
        val reportType: Int
    )
}

// 添加工作日志的数据类
data class AddReportEntity(
    val `data`: Any,
    val msg: String,
    val statusCode: Int
)

// 查询签到记录数据类
data class SelSignEntity(
    val `data`: List<Data>,
    val msg: String,
    val statusCode: Int
) {
    data class Data(
        val signId: Int,
        val signLat: Double,
        val signLong: Double,
        val signTime: Long,
        val signUserId: Int
    )
}

// 签到
data class InsertSignEntity(
    val `data`: Any,
    val msg: String,
    val statusCode: Int
)